#ifndef MEMORY_H
#define MEMORY_h

#include "../../PascalInterface/IMemory.h"

namespace SimplePascal
{
	class Memory : public IMemory
	{
	public:
		virtual void Read(const Handle& handle, char* result, const int size)const;
		virtual void Write(Handle& handle, const char* data, const int size);
		virtual Handle Alloc(const int size);
		virtual bool Free(const Handle& handle);
	};
}

#endif